import request from "@/common/request"

//课程/课件分类表分页展示
export const studycourseclassifyTree = (queryForm) => {
    return request("get", "/study/course/studyCourseClassify/tree", queryForm);
}
//课程/课件分类表列表展示
export const studycourseclassifyList = (queryForm) => {
    return request("get", "/study/course/studyCourseClassify/list", queryForm);
}
//课程/课件分类表详情
export const studycourseclassifyInfo = (id) => {
    return request('get', '/study/course/studyCourseClassify/info', {
        id: id
    })
}
//课程/课件分类表信息保存
export const studycourseclassifySave = (data) => {
    return request('post', '/study/course/studyCourseClassify/save', data)
}
//课程/课件分类表信息修改
export const studycourseclassifyEdit = (data) => {
    return request('post', '/study/course/studyCourseClassify/edit', data)
}
//课程/课件分类表信息删除
export const studycourseclassifyDel = (id) => {
    return request('post', '/study/course/studyCourseClassify/delete?id=' + id)
}
//课程/课件分类表批量删除
export const studycourseclassifyDelBatch = (ids) => {
    return request('post', '/study/course/studyCourseClassify/deleteBatch', ids)
}
//课程/课件分类表动态表头导出
export const studycourseclassifyDynamicExport = (data) => {
    return request("eptpost", '/study/course/studyCourseClassify/exportDynamic', data)
}
